package com.smartrm.globalinfrcore.annoation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/*
 * @program: common-starters
 * @description: 用于rpc服务
 * @author: houhong
 * @create: 2023-01-10 16:46
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface RpcService {

    @AliasFor(annotation = Component.class)
    String value() default "";
}